package xyz.coolcsm.security.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 什锦
 * @since 2021-06-1
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_say")
public class Say implements Serializable {

    private static final long serialVersionUID = 1L;

    //自增id
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    //唯一id
    private String sid;

    //标题
    private String title;

    //内容
    private String content;

    //时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    //发布人名字
    private String issueName;

    //是否全部人可见
    private Integer status;

}
